package com.lr.springbootmybatisplusdemo.dto;

import com.lr.springbootmybatisplusdemo.entity.MallOrder;
import com.lr.springbootmybatisplusdemo.entity.MallUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author liurui
 * @date 2023/3/13 11:53
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MallUserAndOrderDTO {
    //主键id
    private Integer id;
    //用户id
    private Long userId;
    //用户姓名
    private String userName;
    //性别
    private Integer userGender;
    //用户地址
    private String userAddress;
    //用户生日
    private Date userBirthday;
    //用户手机号
    private String userPhone;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    //用户订单列表
    private Long orderId;
    //用户id

    //商品id
    private Long goodsId;
    //订单总额
    private Double totalAmount;
    //支付方式
    private Integer payType;
    //创建时间

}
